<template>
  <div>
    <el-row>
      <div class="error">
        <img src="../../../static/images/404.png" />
        <span>404 Page Not Found，哎呀出错了~</span>
        <el-button @click="goBack" round>返回首页</el-button>
        <el-button @click="goLogin" type="primary" round>返回登录</el-button>
      </div>
    </el-row>
  </div>
</template>

<script>
export default {
  data () {
    return {};
  },
  methods: {
    goBack () {
      this.$router.push({ path: '/' });
    },
    goLogin () {
      this.$router.push({ path: '/login' });
    }
  }
};
</script>

<style lang="scss" scoped>
@import './index.scss';
</style>
